<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>企业网站</title>
    <link rel="stylesheet" href="__PUBLIC__/css/index.css">

</head>
<body>
<div class="container">
    <div class="header">
    <div class="header_content">
        <div class="header_logo">
            <a href="index.php">
                <img class="logo" src="__PUBLIC__/images/logo.gif" alt="">
            </a>
        </div>
        <div class="header_nav">
            <p class="header_user">
                <?php if (isset($_COOKIE['login']) && $_COOKIE['login'] == "1") { ?>

                <a href="user_center.php"><?php echo $_COOKIE['username']; ?></a>
                <a href="<?php echo U('User/logout');?>">退出</a>
                <?php } else { ?>

                <a href="<?php echo U('User/login');?>" target="_blank">登录</a> |
                <a href="<?php echo U('User/register');?>" target="_blank">注册</a>
                <?php } ?>
                <select name="" id="">
                    <option value="">旗下网站</option>
                    <option value="">文豆广州</option>
                    <option value="">文豆深圳</option>
                </select>
            </p>
            <p class="header_nav_info">
                <a href="<?php echo U('About/index');?>" target="_blank">公司简介</a>
                <a href="<?php echo U('Cases/index');?>" target="_blank">案列展示</a>
                <a href="<?php echo U('News/index');?>" target="_blank">资讯中心</a>
                <a class="lxwm" href="<?php echo U('About/contact');?>" target="_blank">联系我们</a>
            </p>
        </div>
    </div>
</div>

    <div class="banner">
        <div id="slideBox" class="slideBox">
            <div class="hd">
                <ul>
                    <li></li>
                    <li></li>
                    <li></li>
                </ul>
            </div>
            <div class="bd">
                <ul>
                    <?php foreach ($carousel as $value) { ?>
                    <li><a href="#" target="_blank"><img src="__PUBLIC__/<?php echo $value["src"]; ?>"/></a></li>
                    <?php } ?>
                </ul>
            </div>
        </div>
    </div>
    <div class="main">
        <div class="slideTxtBox">
            <div class="hd">
                <ul>
                    <?php foreach ($service as $value) { ?>
                    <li class="hd_img">
                        <a href="#"><img src="__PUBLIC__/<?php echo $value["src"]; ?>" alt=""></a>

                        <p><?php echo $value["title"]; ?></p>
                    </li>
                    <?php } ?>
                </ul>
            </div>
            <div class="bd">
                <?php foreach ($service as $value) { ?>
                <ul>
                    <li>
                        <div class="service_info" id="<?php echo $value["id"]; ?>">
                        <h2><?php echo $value["title"]; ?></h2>

                        <p class="pa"><?php echo $value["brief"]; ?></p>

                        <p class="pb"><?php echo $value["content"]; ?></p>
            </div>
            </li>
            </ul>
            <?php } ?>
        </div>
    </div>
    <div class="main_right">
        <div class="news_title">
            <div class="news_title_left">资讯中心</div>
            <div class="news_title_right">
                <a href="news.php" target="_blank">More</a>
                <img src="__PUBLIC__/images/more.gif" alt="">
            </div>
        </div>
        <div class="news_list">
            <ul>
                <?php foreach ($news as $value) { ?>
                <li>
                    <a href="news_detail.php?nid=<?php echo $value['nid']; ?>"><?php echo $value['title']; ?></a>
                    <span><?php echo date("Y-m-d"); ?></span>
                </li>
                <?php } ?>
            </ul>
        </div>
    </div>
    <div class="main_bottom">
        <div class="bottom_btn">
            <div class="bottom_title">
                <div>
                    <img src="__PUBLIC__/images/case_title.gif" alt="">
                </div>
                <div class="bottom_title_more">
                    <a href="cases.php" target="_blank">More</a>
                    <img src="__PUBLIC__/images/more.gif" alt="">
                </div>
            </div>
            <div class="bottom_bg">
                <img src="__PUBLIC__/images/case_bg.gif" alt="">
            </div>
        </div>
        <div class="picScroll-left">
            <div class="hd">
                <img src="__PUBLIC__/images/cases_prev.gif" class="prev" alt="">
                <img src="__PUBLIC__/images/cases_next.gif" class="next" alt="">
            </div>
            <div class="bd">
                <ul class="picList">
                    <?php foreach ($cases as $value) { ?>
                    <li>
                        <div class="pic"><a href="cases_01.php?id=<?php echo $value["id"] ?>"
                            target="_blank"><img
                                    src="__PUBLIC__/<?php echo $value["src"]; ?>"/></a></div>
                        <div class="title"><a href="#" target="_blank"></a></div>
                    </li>
                    <?php } ?>
                </ul>
            </div>
        </div>
    </div>
</div>
<div class="about">
    <div class="about_content">
        <ul>
            <li class="content_wd">
                <h2>公司简介</h2>

                <p><span class="wd">文豆集团</span>是一家提供互联网服务的高科技集团公司，集策划、设计、前端优化、研发、测试、系统运维、网站推广、运营、团队外包及互联网人才培养为一体的成熟业务体系；
                    主要提供高品质网站建设方案，移动端应用开发方案，微应用、微商城、微官网、微互动营销解决方案，企业信息化解决方案，以及PHP网站开发、Java开发、UI设计、淘宝美工人才培养服务，人才外包服务，高端IT人才猎头服务。
                </p>
                <a href="">
                    <img src="__PUBLIC__/images/company_btn.gif" alt="">
                </a>
            </li>
            <li class="content_service">
                <h2>服务特色</h2>

                <div>
                    <div class="content_service_img">
                        <img src="__PUBLIC__/images/service_img.gif" alt="">

                        <p class="service_img_info">不用担心距离, 文豆就在你身边</p>

                        <div class="content_service_note">
                            <span>网站建设</span>

                            <p>文豆集团，是一家具有独立注册商标的网络科技公司。</p>
                            <span>营销推广</span>

                            <p>网络推广就是利用互联网进行宣传推广活动 。被推广对象可以是企业、产品、政府以及个人 的信息和网站等。据09年调查显示，中国93% 的企业.</p>

                            <p>
                                <a href="">
                                    <img src="__PUBLIC__/images/company_btn.gif" alt="">
                                </a>
                            </p>
                        </div>
                    </div>
                </div>
            </li>
            <li class="content_contact">
                <h2>联系我们</h2>

                <div class="content_info">
                    <div class="contact_img">
                        <a href="">
                            <img src="__PUBLIC__/images/contact_img.gif" alt="">
                        </a>
                    </div>
                    <div class="contact_tel">
                        <p>广州：400-889-7654</p>

                        <p>深圳：0755-66691037</p>
                    </div>
                </div>
                </p>
            </li>
        </ul>
    </div>
</div>
<div class="footer">
    <div class="footer_content">
        <p class="footer_info">
            <a class="company_info" href="">公司简介</a> |
            <a href="">案例展示</a> |
            <a href="">资讯中心</a> |
            <a href="">联系我们</a>
        </p>

        <p class="footer_copyright">
            <span>文豆集团 Copyright 2009-2015 ,All Rights Reserved wengdo</span>
            <a class="footer_copyright_info" href="">粤IPC备12022584号-3</a>
					<span class="footer_share">
						<span>分享到：</span>
						<a href="https://wx.qq.com/" target="_blank">
                            <img src="__PUBLIC__/images/icon_share_01.gif" alt="">
                        </a>
						<a href="http://reg.t.qq.com/" target="_blank">
                            <img src="__PUBLIC__/images/icon_share_02.gif" alt="">
                        </a>
						<a href="weibo.com " target="_blank">
                            <img src="__PUBLIC__/images/icon_share_03.gif" alt="">
                        </a>
					</span>
        </p>

        <p>法律顾问：广东晟晨律师事务所-张勇律师</p>
        <?php $s = json_encode($service); ?>
    </div>
</div>

</div>
</body>
</html>

<script src="__PUBLIC__/js/jquery-1.8.1.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/jquery.SuperSlide.2.1.1.js" type="text/javascript"></script>
<script type="text/javascript">
    //benner
    $(".slideBox").slide({mainCell: ".bd ul", autoPlay: true});

    //case 轮播图
    $(".picScroll-left").slide({
        mainCell: ".bd ul",
        autoPage: true,
        effect: "leftLoop",
        autoPlay: true,
        interTime: 5000,
        delayTime: 1000,
        scroll: 3,
        vis: 3,
        trigger: "click"
    });


    //service标签切换
    $(".slideTxtBox").slide();
    var t = <?php echo $s;?>;
    $(".hd_img").each(function () {
        $(this).mouseenter(function () {
            var q = $(this).index();
            $(this).find('img').attr("src", "__PUBLIC__/"+t[q]['src_on']);
        });
    });


    $(".hd_img").each(function () {
        $(this).mouseleave(function () {
            var q1 = $(this).index();
            $(this).find('img').attr("src", "__PUBLIC__/"+t[q1]['src']);
        });
    });


</script>